Repository navigation
chore: release 4.2.1 - #132
Merged
Merged
Conversation
Add pinned TypeScript typecheck configs, strict consumer fixture, and CI/publish/prepublish gates. Preserve extensionless lib subpaths with explicit exports aliases and bump package metadata to 4.2.1. No runtime dependencies or runtime behavior change.
Narrow command responses to string, type internal host records with HostConfig/ThisType, document stop() as this, and add EventEmitter-compatible addListener overloads. Update editor-support and publishing docs for the dev-only typecheck gate and review-cycle commit policy. Runtime dependencies and behavior are unchanged.
Type internal host records and timer/context values, remove unused callback parameters and redundant returns, preserve the 4.2.0 ASCII filter pattern verbatim, and retain the compilePromptRegex deep-import export. Regenerate lib/ from src/.
Replace unused dotenv bindings with side-effect config calls, remove unused callback parameters, annotate fixture hosts, fake connections, timers and key loading, correct Error cause arguments, simplify trivial ternaries, and remove redundant locals. Test behavior is unchanged.
Move the development notes into a dated 4.2.1 section, split Added and Changed entries, and update the compare links. Final local release gates pass.
Keep the editor-only jsconfig.json local while tsconfig.json remains the checked-in project scope.
Clarify that read-only exploration ends when implementation on a branch is requested, after which normal local development and review-cycle commits apply. Push, PR, tag, publish, and release still require explicit approval.
Describe the TypeScript typecheck as static contract coverage rather than line coverage. Line coverage remains diagnostic only, with no dependency or CI gate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares
4.2.1with editor/type-support hardening and WebStorm inspection cleanup.prepublishOnlychecks.exportsmap withtypesfirst while preserving extensionlesslib/*deep imports.HostConfig/ThisType<SSH2Shell>,stop(): this, and EventEmitter-compatibleaddListeneroverloads.compilePromptRegexdeep-import export.jsconfig.json.Test plan
npm run build— passednpm run typecheck— passednpm run check:changelog— passed for 4.2.1npm test— 229 total, 174 passed, 55 skipped, 0 failednpm pack --dry-run—ssh2shell-4.2.1.tgz,index.d.tsincludedlib/*self-importsRelease type: patch
4.2.1. Same-day follow-up limit explicitly waived by the maintainer.